import datetime

from django.db import models


# Create your models here.

class User(models.Model):
    id = models.AutoField(primary_key=True)
    username = models.CharField(max_length=16, unique=True)
    password = models.CharField(max_length=16, default="000000")
    gender = models.PositiveSmallIntegerField(default=0)
    age = models.IntegerField(null=True)
    createDatetime = models.DateTimeField(auto_now_add=datetime.datetime.now())